package com.cn.http.impl;

import com.cn.http.HttpResponse;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * &#064;Time 2024 八月 星期五 19:04
 *
 * @author ShangGuan
 */
@Setter
public class SimpleHttpResponse implements HttpResponse {

    private int statusCode;

    private String content;

    private Map<String, List<String>> responseHeaders;
    @Override
    public int getStatus() {
        return statusCode;
    }

    @Override
    public String getContent() {
        return content;
    }

    @Override
    public Map<String, List<String>> getHeaders() {
        return responseHeaders;
    }
}
